<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="content-type" content="text/html;charset=utf-8" />        
        <meta name="keywords" content="Jadroagent Bar" />
        <meta name="description" content="Jadroagent Bar" />
        <meta name="Language" content="en" />
        <meta name="Robots" content="index,follow" />
        <meta name="Author" content="Kukic Ivan # ikukic@yahoo.com" />
        <meta name="revisit-after" content="2 days" />
        <meta name="Distribution" content="global" />
        <title>Jadroagent BAR | Home</title>  
        <link rel="icon" href="<?=base_url()?>assets/img/pngico.png" type="image/x-icon" />

        <!-- Printing Language to JS Array -->
        <script type="text/javascript"> 
            var language = new Array();
        </script>
        <?

            foreach($this->lang->lng_lines() as $key=>$value){

            ?>
            <script type="text/javascript">
                language['<?=$key?>'] = '<?=$value?>';
                //console.log('key:'+'<?=$key?>'+' -> value: '+'<?=$value?>');
            </script>
            <?

            }
        ?>
        <!-- END Printing Language to JS Array -->

        <?  
            $this->montenegrin->display();
        ?>

        <!-- Set base and site url JS -->
        <script type="text/javascript">
            var base_url = '<?=base_url()?>';
            var site_url = '<?=site_url()?>';
            var page = '<?=$page?>';
            var sub = '<?=$sub?>';
            var upsub = '<?=$upsub?>';
        </script>    


        <!--[if IE]>
        <style>

        #menu li {

        margin-left:30px;

        }

        #menu{

        width:750px;

        }

        </style>

        <![endif]-->

        <?
            if($lang == 'en'){
            ?>
            <style>
                #menu{

                    width:617px;

                }
            </style>

            <!--[if IE]>
            <style>

            #menu{

            width:690px;

            }

            </style>

            <![endif]-->
            <?    
            }
        ?>

        <script type="text/javascript">

            var _gaq = _gaq || [];
            _gaq.push(['_setAccount', 'UA-26856567-1']);
            _gaq.push(['_trackPageview']);

            (function() {
                var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
                ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
                var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
            })();

        </script>

    </head>

    <body id="<?=$page;?>">

        <div id="head"> <? $this->load->view('head'); ?> </div>

        <div id="banner-<?=$page;?>"> <?=$contlayout ?> </div>

        <div id="footer"> <? $this->load->view('footer'); ?> </div>

    </body>

</html>
